﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="SuaThongTinND.aspx.cs" Inherits="SuaThongTinND" %>

<%@ Register TagName="yahoo" TagPrefix="yahoo" Src="yahool.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .dropcontent
        {
            width: 350px;
            height: auto;
            padding-top: 0px;
            padding-bottom: 0px;
            padding-left: 0px;
            padding-right: 0px;
            display: block;
        }
    </style>
    <style type="text/css">
        .dropcontent
        {
            display: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tbody>
                                            <tr>
                                                <td width="49%" height="30" background="images/bgtop.jpg" bgcolor="#DDDDDD" class="bgmenupro"
                                                    style="padding-left: 10px; border-top: 1px #CCCCCC solid; border-left: 1px #CCCCCC solid;
                                                    border-right: 1px #CCCCCC solid;">
                                                    <strong>Update thông tin thành viên</strong>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top" style="border: 1px #CCCCCC solid; padding: 10px; height: 210px;">
                                                    <table width="100%" border="0" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC"
                                                        style="font-family: Tahoma; font-size: 10pt; border-collapse: collapse; padding: 10px">
                                                        <tbody>
                                                            <tr bgcolor="">
                                                                <td>
                                                                    Họ Tên (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtFullname" CssClass="box_input" 
                                                                        MaxLength="30" Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                                                        ControlToValidate="txtFullname" ErrorMessage="Hãy nhập họ tên" ForeColor="Red">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr bgcolor="">
                                                                <td>
                                                                    Điện thoại (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtPhone" CssClass="box_input" MaxLength="15" 
                                                                        Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                                                        ControlToValidate="txtPhone" ErrorMessage="Hãy nhập số điện thoại" 
                                                                        ForeColor="Red">*</asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                                                        ControlToValidate="txtPhone" ErrorMessage="Điện thoại là chữ số" 
                                                                        ForeColor="Red" ValidationExpression="\d{9,15}|[+]?\d{9,14}">*</asp:RegularExpressionValidator>
                                                                </td>
                                                            </tr>
                                                           
                                                            <tr>
                                                                <td>
                                                                    Địa chỉ email
                                                                    (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtemail" CssClass="box_input" MaxLength="100" 
                                                                        Width="200px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                                                        ControlToValidate="txtemail" ErrorMessage="Hãy nhập địa chỉ email" 
                                                                        ForeColor="Red">*</asp:RequiredFieldValidator>
                                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                                                                        ControlToValidate="txtemail" ErrorMessage="Email sai định dạng" ForeColor="Red" 
                                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                                                                </td>
                                                            </tr>
                                                            <tr bgcolor="">
                                                                <td>
                                                                    Địa chỉ (*)
                                                                </td>
                                                                <td>
                                                                    <asp:TextBox runat="server" ID="txtAddress" CssClass="box_input" 
                                                                        MaxLength="200" Width="400px"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                                        ControlToValidate="txtAddress" ErrorMessage="Hãy nhập địa chỉ" ForeColor="Red">*</asp:RequiredFieldValidator>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td valign="top" colspan="2" style="padding-left: 60px">
                                                                    
                                                                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" />
                                                                    
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                </td>
                                                                <td>
                                                                    <asp:Button ID="Button1" runat="server" Text="Cập nhật" Width="120" Height="25" 
                                                                        onclick="Button1_Click"  />
                                                                </td>
                                                            </tr>
                                                            <%--<tr>
                                                                <td colspan="2" style="text-align: center">
                                                                    <asp:Label runat="server" ID="lblthongbao" Font-Bold="True" ForeColor="Red"></asp:Label>
                                                                </td>
                                                            </tr>--%>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
</asp:Content>

